package com.ruoyi.zxjd.demeanor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 纪检风采对象 demeanor_arrange
 *
 * @author lcc
 * @date 2021-03-16
 */
public class DemeanorArrange extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 风采ID
     */
    private Long arrangeId;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String demeanorTitle;

    /**
     * 分类（1党纪国法 2业务知识 3典型案例 4视频学习）
     */
    @Excel(name = "分类", readConverterExp = "1=党纪国法,2=业务知识,3=典型案例,4=视频学习")
    private String demeanorCategory;

    /**
     * 封面图片
     */
    @Excel(name = "封面图片")
    private String coverPhoto;

    /**
     * 附件
     */
    @Excel(name = "附件")
    private String attachments;

    /**
     * 摘要
     */
    @Excel(name = "摘要")
    private String summary;

    /**
     * 关键标签
     */
    @Excel(name = "关键标签")
    private String keyTags;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String demeanorContent;

    /**
     * 工作状态（0草稿 1已发布）
     */
    @Excel(name = "工作状态", readConverterExp = "0=草稿,1=已发布")
    private String status;

    /**
     * 图片路径
     */
    private String picturePath;

    public void setArrangeId(Long arrangeId) {
        this.arrangeId = arrangeId;
    }

    public Long getArrangeId() {
        return arrangeId;
    }

    public void setDemeanorTitle(String demeanorTitle) {
        this.demeanorTitle = demeanorTitle;
    }

    public String getDemeanorTitle() {
        return demeanorTitle;
    }

    public void setDemeanorCategory(String demeanorCategory) {
        this.demeanorCategory = demeanorCategory;
    }

    public String getDemeanorCategory() {
        return demeanorCategory;
    }

    public void setCoverPhoto(String coverPhoto) {
        this.coverPhoto = coverPhoto;
    }

    public String getCoverPhoto() {
        return coverPhoto;
    }

    public void setAttachments(String attachments) {
        this.attachments = attachments;
    }

    public String getAttachments() {
        return attachments;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getSummary() {
        return summary;
    }

    public void setKeyTags(String keyTags) {
        this.keyTags = keyTags;
    }

    public String getKeyTags() {
        return keyTags;
    }

    public void setDemeanorContent(String demeanorContent) {
        this.demeanorContent = demeanorContent;
    }

    public String getDemeanorContent() {
        return demeanorContent;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getPicturePath() {
        return picturePath;
    }

    public void setPicturePath(String picturePath) {
        this.picturePath = picturePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("arrangeId", getArrangeId())
                .append("demeanorTitle", getDemeanorTitle())
                .append("demeanorCategory", getDemeanorCategory())
                .append("coverPhoto", getCoverPhoto())
                .append("attachments", getAttachments())
                .append("summary", getSummary())
                .append("keyTags", getKeyTags())
                .append("demeanorContent", getDemeanorContent())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append(picturePath, getPicturePath())
                .toString();
    }
}
